package com.payment.entity.alast.stripe.onetime.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 去请求北京收银台 创建Stripe支付
 *
 * @author lm
 * @date 2020/12/18 14:21
 */

@Data
public class CreateStripePaymentRequest implements Serializable {

    @ApiModelProperty(value = "渠道编码。此字段不可传空字符串", example = "P000818", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "H5传给Stripe的唯一支付id，P开头的，对应description", example = "P0002702020110214193780630", dataType = "String")
    private String order_id;

    @ApiModelProperty(value = "支付金额：单位是美分", example = "19.99*100", dataType = "String")
    private String amount;

    @ApiModelProperty(value = "订单金额单位，是usd就是usd，是cny就是cny", example = "usd", dataType = "String")
    private String currency;

    @ApiModelProperty(value = "付款邮箱", example = "", dataType = "String")
    private String email;

    @ApiModelProperty(value = "收款邮箱", example = "", dataType = "String")
    private String receipt_email;
}
